package com.the4man.cnbdw.dao;

import com.the4man.framework.model.Message;
import com.the4man.framework.model.MessageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface MessageMapper {
    int countByExample(MessageExample var1);

    int deleteByExample(MessageExample var1);

    int deleteByPrimaryKey(String var1);

    int insert(Message var1);

    int insertSelective(Message var1);

    List<Message> selectByExample(MessageExample var1);

    Message selectByPrimaryKey(String var1);

    int updateByExampleSelective(@Param("record") Message var1, @Param("example") MessageExample var2);

    int updateByExample(@Param("record") Message var1, @Param("example") MessageExample var2);

    int updateByPrimaryKeySelective(Message var1);

    int updateByPrimaryKey(Message var1);

    int insertMsg(Message var1);

    List<Message> selectAllMsg();
}
